﻿@model TestSystem.ViewModel.CURD.WebUserVMs.WebUserVM
@inject IStringLocalizer<WalkingTec.Mvvm.Core.Program> Localizer;

<wt:form vm="@Model">
    <wt:row items-per-row="ItemsPerRowEnum.Two">
        <wt:combobox field="Entity.UnitWorkID" items="AllUnitWorks" />
        <wt:textbox field="Entity.ITCode" />
        <wt:textbox field="Entity.Name" />
        <wt:textbox field="Entity.CellPhone" />
        <wt:textbox field="Entity.HomePhone" />
        <wt:textbox field="Entity.Password" is-password="true" />
        <wt:upload field="Entity.PhotoId" />
        <wt:switch field="Entity.IsValid" />
        <wt:checkbox field="SelectedUserRolesIDs" items="AllUserRoless" />
    </wt:row>
    <wt:row align="AlignEnum.Right">
        <wt:submitbutton />
        <wt:closebutton />
    </wt:row>
</wt:form>
